import request from '@/utils/request'

const api = {
  queryGoodsShelvesUrl: '/wms_goods/query_goods_shelves',
  addGoodsShelvesUrl: '/wms_goods/add_goods_shelves',
}

export async function addGoodsShelvesApi(data: Map<string, any>) {
  const res = await request({
    url: api.addGoodsShelvesUrl,
    method: 'post',
    data,
  })
  return res
}

export async function queryGoodsShelvesApi(data: Map<string, any>) {
  const res = await request({
    url: api.queryGoodsShelvesUrl,
    method: 'post',
    data,
  })
  return res
}
